package practise2.model;

/**
 * Created by Richard on 1/8/2015.
 */
public class LinkedNode<T> {
    private T value;
    private LinkedNode node;

    public LinkedNode(T value) {
        this.setValue(value);
    }

    public LinkedNode() {
    }


    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public LinkedNode getNode() {
        return node;
    }

    public void setNode(LinkedNode node) {
        this.node = node;
    }
}
